<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>走进汕头 - 旅游专区</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css">
    <link rel="stylesheet" href="css/style.css">
    <style>
        /* 自定义样式 */
        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/shantou-banner.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 100px 0;
            text-align: center;
        }
        
        .attraction-card {
            transition: transform 0.3s;
            margin-bottom: 20px;
        }
        
        .attraction-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .food-item {
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 20px;
        }
        
        .itinerary-day {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
        }
        
        #messageBoard {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-primary sticky-top">
        <div class="container">
            <a class="navbar-brand d-flex align-items-center" href="index.html">
                <img src="img/logo.png" alt="走进汕头" class="navbar-logo">
                <span class="brand-text">走進汕頭</span>
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="index.html"><i class="bi bi-house-door"></i> 首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="food.html"><i class="bi bi-egg-fried"></i> 汕头美食</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="specialty.html"><i class="bi bi-shop"></i> 汕头特产</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="scenery.html"><i class="bi bi-image"></i> 汕头美景</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="history.html"><i class="bi bi-book"></i> 汕头历史</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="travel.html"><i class="bi bi-map"></i> 旅游专区</a>
                    </li>
                </ul>
                <form class="d-flex search-form">
                    <input class="form-control me-2" type="search" placeholder="搜索汕头..." id="searchInput">
                    <button class="btn btn-outline-light" type="submit"><i class="bi bi-search"></i></button>
                </form>
            </div>
        </div>
    </nav>

    <!-- 英雄区域 -->
    <section class="hero-section">
        <div class="container">
            <h1 class="display-4 fw-bold">汕头旅游专区</h1>
            <p class="lead">探索潮汕文化，体验美食之旅</p>
        </div>
    </section>

    <!-- 热门景点 -->
    <section class="container my-5">
        <h2 class="text-center mb-4"><i class="bi bi-geo-alt"></i> 热门景点</h2>
        <div class="row">
            <!-- 南澳岛 -->
            <div class="col-md-4">
                <div class="card attraction-card h-100">
                    <img src="img/bg.jpg" class="card-img-top" alt="南澳岛">
                    <div class="card-body">
                        <h5 class="card-title">南澳岛</h5>
                        <p class="card-text">广东唯一的海岛县，被北回归线穿过，拥有碧蓝大海、广阔海滩和文艺灯塔。</p>
                        <ul class="list-group list-group-flush mb-3">
                            <li class="list-group-item"><i class="bi bi-star"></i> 特色体验：牡蛎养殖基地参观</li>
                            <li class="list-group-item"><i class="bi bi-clock"></i> 建议游玩时间：1-2天</li>
                        </ul>
                        <a href="#nanao" class="btn btn-primary" data-bs-toggle="collapse">了解更多</a>
                        <div id="nanao" class="collapse mt-3">
                            <p>南澳岛是汕头旅游的必去之地，岛上风景秀丽，气候宜人。青澳湾沙滩细腻洁白，北回归线标志塔是夏至体验"立杆无影"奇观的最佳地点。环岛公路骑行是探索南澳岛的最佳方式，沿途可以欣赏到壮丽的海景和渔村风光。</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 汕头老城区 -->
            <div class="col-md-4">
                <div class="card attraction-card h-100">
                    <img src="img/bg.jpg" class="card-img-top" alt="汕头老城区">
                    <div class="card-body">
                        <h5 class="card-title">汕头老城区</h5>
                        <p class="card-text">全国最大骑楼群，网红打卡地，感受南洋风情和侨乡文化。</p>
                        <ul class="list-group list-group-flush mb-3">
                            <li class="list-group-item"><i class bi-star"></i> 特色景点：小公园片区、老妈宫戏台</li>
                            <li class="list-group-item"><i class="bi bi-clock"></i> 建议游玩时间：半天</li>
                        </ul>
                        <a href="#oldTown" class="btn btn-primary" data-bs-toggle="collapse">了解更多</a>
                        <div id="oldTown" class="collapse mt-3">
                            <p>汕头老城区是感受潮汕文化和历史的最佳去处。小公园片楼建筑群保存完好，是摄影爱好者的天堂。开埠文化陈列馆展示了汕头作为通商口岸的历史，老妈宫戏台则可以欣赏到传统的潮剧表演。漫步在老街，品尝"老妈宫粽球"和"潮汕粿条汤"，感受时光倒流。</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 礐石风景区 -->
            <div class="col-md-4">
                <div class="card attraction-card h-100">
                    <img src="img/bg.jpg" class="card-img-top" alt="礐石风景区">
                    <div class="card-body">
                        <h5 class="card-title">礐石风景区</h5>
                        <p class="card-text">汕头市区内的自然风景区，可乘坐索道，体验滑道，欣赏城市全景。</p>
                        <ul class="list-group list-group-flush mb-3">
                            <li class="list-group-item"><i class="bi bi-star"></i> 特色体验：塔山索道、滑道</li>
                            <li class="list-group-item"><i class="bi bi-clock"></i> 建议游玩时间：3-4小时</li>
                        </ul>
                        <a href="#queshi" class="btn btn-primary" data-bs-toggle="collapse">了解更多</a>
                        <div id="queshi" class="collapse mt-3">
                            <p>礐石风景区由塔山景区、焰峰景区和梦之谷三部分组成。塔山景区是游客最多的区域，可以乘坐索道上山，体验刺激的滑道下山。焰峰景区路线平缓，适合长辈游玩。梦之谷则是自然景观区，环境清幽。从山顶可以俯瞰汕头市区和美丽的内海湾景色。</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="text-center mt-4">
            <a href="#moreAttractions" class="btn btn-outline-primary" data-bs-toggle="collapse">查看更多景点</a>
        </div>
        
        <div id="moreAttractions" class="collapse mt-4">
            <div class="row">
                <!-- 陈慈黉故居 -->
                <div class="col-md-4">
                    <div class="card attraction-card h-100">
                        <img src="img/bg.jpg" class="card-img-top" alt="陈慈黉故居">
                        <div class="card-body">
                            <h5 class="card-title">陈慈黉故居</h5>
                            <p class="card-text">岭南最大侨宅，世界花砖博物馆，展示潮汕传统建筑艺术。</p>
                            <ul class="list-group list-group-flush mb-3">
                                <li class="list-group-item"><i class="bi bi-star"></i> 特色：中西合璧建筑风格</li>
                                <li class="list-group-item"><i class="bi bi-clock"></i> 建议游玩时间：1-2小时</li>
                            </ul>
                        </div>
                    </div>
                </div>
                
                <!-- 海滨长廊 -->
                <div class="col-md-4">
                    <div class="card attraction-card h-100">
                        <img src="img/bg.jpg" class="card-img-top" alt="海滨长廊">
                        <div class="card-body">
                            <h5 class="card-title">海滨长廊</h5>
                            <p class="card-text">观赏内海湾海景的最佳地点，夜晚灯光秀主要观景点。</p>
                            <ul class="list-group list-group-flush mb-3">
                                <li class="list-group-item"><i class="bi bi-star"></i> 特色体验：广场轮渡看日落</li>
                                <li class="list-group-item"><i class="bi bi-clock"></i> 建议游玩时间：1小时</li>
                            </ul>
                        </div>
                    </div>
                </div>
                
                <!-- 潮汕历史文化博览中心 -->
                <div class="col-md-4">
                    <div class="card attraction-card h-100">
                        <img src="img/bg.jpg" class="card-img-top" alt="潮汕历史文化博览中心">
                        <div class="card-body">
                            <h5 class="card-title">潮汕历史文化博览中心</h5>
                            <p class="card-text">了解潮汕文化的最佳场所，收藏13000件文物。</p>
                            <ul class="list-group list-group-flush mb-3">
                                <li class="list-group-item"><i class="bi bi-star"></i> 特色：潮汕民俗文化展示</li>
                                <li class="list-group-item"><i class="bi bi-clock"></i> 建议游玩时间：2小时</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 美食推荐 -->
    <section class="container my-5 bg-light py-4 rounded">
        <h2 class="text-center mb-4"><i class="bi bi-egg-fried"></i> 必尝美食</h2>
        <div class="row">
            <div class="col-md-3">
                <div class="food-item text-center">
                    <img src="images/beef-hotpot.jpg" class="img-fluid rounded mb-2" alt="潮汕牛肉火锅">
                    <h5>潮汕牛肉火锅</h5>
                    <p class="text-muted">现切牛肉配沙茶酱，推荐「杏花吴记」「八合里」</p>
                </div>
            </div>
            <div class="col-md-3">
                <div class="food-item text-center">
                    <img src="images/oyster-omelet.jpg" class="img-fluid rounded mb-2" alt="蚝烙">
                    <h5>蚝烙</h5>
                    <p class="text-muted">南澳岛珍珠蚝制作，外酥里嫩</p>
                </div>
            </div>
            <div class="col-md-3">
                <div class="food-item text-center">
                    <img src="images/kueh.jpg" class="img-fluid rounded mb-2" alt="潮汕粿品">
                    <h5>潮汕粿品</h5>
                    <p class="text-muted">红桃粿、鼠壳粿、韭菜粿等</p>
                </div>
            </div>
            <div class="col-md-3">
                <div class="food-item text-center">
                    <img src="images/porridge.jpg" class="img-fluid rounded mb-2" alt="夜粥">
                    <h5>夜粥大排档</h5>
                    <p class="text-muted">白粥配杂咸、卤水拼盘，烟火气十足</p>
                </div>
            </div>
        </div>
        
        <div class="text-center mt-3">
            <a href="food.html" class="btn btn-primary">查看更多美食</a>
        </div>
    </section>

    <!-- 推荐线路 -->
    <section class="container my-5">
        <h2 class="text-center mb-4"><i class="bi bi-signpost-split"></i> 推荐线路</h2>
        
        <div class="itinerary-day">
            <h3><i class="bi bi-sun"></i> 第一天：老城文化漫游</h3>
            <ul class="list-group list-group-flush">
                <li class="list-group-item">09:00-11:00 小公园骑楼区游览</li>
                <li class="list-group-item">11:30-13:00 午餐：龙眼南路美食街</li>
                <li class="list-group-item">14:00-16:00 汕头开埠文化馆参观</li>
                <li class="list-group-item">17:00-18:30 西堤公园看日落</li>
                <li class="list-group-item">19:00-21:00 晚餐：潮汕牛肉火锅</li>
            </ul>
        </div>
        
        <div class="itinerary-day">
            <h3><i class="bi bi-water"></i> 第二天：海岛治愈之旅</h3>
            <ul class="list-group list-group-flush">
                <li class="list-group-item">08:00-09:30 乘车前往南澳岛</li>
                <li class="list-group-item">10:00-12:00 青澳湾沙滩游玩</li>
                <li class="list-group-item">12:30-14:00 午餐：渔村大排档</li>
                <li class="list-group-item">14:30-17:30 环岛公路自驾或骑行</li>
                <li class="list-group-item">18:00-19:30 晚餐：海鲜大餐</li>
                <li class="list-group-item">住宿：青澳湾民宿</li>
            </ul>
        </div>
        
        <div class="itinerary-day">
            <h3><i class="bi bi-building"></i> 第三天：自然与潮流碰撞</h3>
            <ul class="list-group list-group-flush">
                <li class="list-group-item">08:00-10:00 南澳岛北回归线标志塔</li>
                <li class="list-group-item">10:30-12:00 返回汕头市区</li>
                <li class="list-group-item">12:30-14:00 午餐：万象城商圈</li>
                <li class="list-group-item">14:30-16:30 观海长廊散步</li>
                <li class="list-group-item">17:00 结束行程</li>
            </ul>
        </div>
    </section>

    <!-- 交通住宿指南 -->
    <section class="container my-5 bg-light py-4 rounded">
        <h2 class="text-center mb-4"><i class="bi bi-geo-alt"></i> 交通住宿指南</h2>
        
        <div class="row">
            <div class="col-md-6">
                <div class="card mb-4">
                    <div class="card-header bg-primary text-white">
                        <h5 class="mb-0"><i class="bi bi-train-front"></i> 交通指南</h5>
                    </div>
                    <div class="card-body">
                        <h6>从汕头站出发：</h6>
                        <ul>
                            <li>出租车：约20分钟到达市中心</li>
                            <li>公交车：乘坐K1路直达小公园站</li>
                        </ul>
                        
                        <h6 class="mt-3">从揭阳潮汕国际机场出发：</h6>
                        <ul>
                            <li>机场大巴：直达汕头市区，约1小时</li>
                            <li>出租车：约40分钟到达市中心</li>
                        </ul>
                    </div>
                </div>
            </div>
            
            <div class="col-md-6">
                <div class="card">
                    <div class="card-header bg-primary text-white">
                        <h5 class="mb-0"><i class="bi bi-house-door"></i> 住宿推荐</h5>
                    </div>
                    <div class="card-body">
                        <div class="table-responsive">
                            <table class="table table-striped">
                                <thead>
                                    <tr>
                                        <th>酒店</th>
                                        <th>价格</th>
                                        <th>位置</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td>汕头国际大酒店</td>
                                        <td>¥500-800</td>
                                        <td>市中心</td>
                                    </tr>
                                    <tr>
                                        <td>南澳岛海景民宿</td>
                                        <td>¥300-600</td>
                                        <td>青澳湾</td>
                                    </tr>
                                    <tr>
                                        <td>汕头龙湖宾馆</td>
                                        <td>¥400-700</td>
                                        <td>商业区</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <a href="#" class="btn btn-sm btn-primary mt-2">查看更多住宿</a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 留言板 -->
    <section class="container my-5">
        <h2 class="text-center mb-4"><i class="bi bi-chat-square-text"></i> 游客留言</h2>
        
        <div id="messageBoard">
            <form id="messageForm">
                <div class="mb-3">
                    <label for="name" class="form-label">您的姓名</label>
                    <input type="text" class="form-control" id="name" required>
                </div>
                <div class="mb-3">
                    <label for="message" class="form-label">留言内容</label>
                    <textarea class="form-control" id="message" rows="3" required></textarea>
                </div>
                <button type="submit" class="btn btn-primary">提交留言</button>
            </form>
            
            <div id="messages" class="mt-4">
                <div class="card mb-3">
                    <div class="card-body">
                        <h5 class="card-title">张三</h5>
                        <p class="card-text">南澳岛真的太美了，海水清澈见底，海鲜也非常新鲜！</p>
                        <p class="text-muted small">2025-04-10</p>
                    </div>
                </div>
                
                <div class="card mb-3">
                    <div class="card-body">
                        <h5 class="card-title">李四</h5>
                        <p class="card-text">潮汕牛肉火锅名不虚传，牛肉鲜嫩，沙茶酱特别香！</p>
                        <p class="text-muted small">2025-04-05</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 页脚 -->
    <footer class="bg-dark text-white py-4 mt-5">
        <div class="container">
            <div class="row">
                <div class="col-md-4 mb-3">
                    <h5>关于我们</h5>
                    <p>"走进汕头"网站致力于推广汕头文化、美食和旅游，让更多人了解这座美丽的滨海城市。</p>
                </div>
                <div class="col-md-4 mb-3">
                    <h5>快速链接</h5>
                    <ul class="list-unstyled">
                        <li><a href="index.html" class="text-white">首页</a></li>
                        <li><a href="food.html" class="text-white">汕头美食</a></li>
                        <li><a href="specialty.html" class="text-white">汕头特产</a></li>
                        <li><a href="travel.html" class="text-white">旅游专区</a></li>
                    </ul>
                </div>
                <div class="col-md-4 mb-3">
                    <h5>联系我们</h5>
                    <p><i class="bi bi-envelope"></i> contact@zoujinshantou.com</p>
                    <p><i class="bi bi-telephone"></i> 0754-12345678</p>
                    <div class="social-icons">
                        <a href="#" class="text-white me-2"><i class="bi bi-wechat"></i></a>
                        <a href="#" class="text-white me-2"><i class="bi bi-weibo"></i></a>
                        <a href="#" class="text-white me-2"><i class="bi bi-facebook"></i></a>
                        <a href="#" class="text-white"><i class="bi bi-instagram"></i></a>
                    </div>
                </div>
            </div>
            <hr>
            <div class="text-center">
                <p class="mb-0">&copy; 2025 走进汕头 版权所有</p>
            </div>
        </div>
    </footer>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script>
        // 留言板功能
        $(document).ready(function() {
            $('#messageForm').submit(function(e) {
                e.preventDefault();
                
                const name = $('#name').val();
                const message = $('#message').val();
                
                if (name && message) {
                    const date = new Date().toISOString().split('T')[0];
                    
                    $('#messages').prepend(`
                        <div class="card mb-3">
                            <div class="card-body">
                                <h5 class="card-title">${name}</h5>
                                <p class="card-text">${message}</p>
                                <p class="text-muted small">${date}</p>
                            </div>
                        </div>
                    `);
                    
                    $('#name').val('');
                    $('#message').val('');
                }
            });
            
            // 搜索功能
            $('#searchInput').on('input', function() {
                const query = $(this).val().trim().toLowerCase();
                const $searchResults = $('#searchResults');
                
                if (query.length === 0) {
                    $searchResults.hide();
                    return;
                }
                
                // 模拟搜索数据
                const searchData = [
                    { title: '汕头牛肉丸', url: 'specialty.html#food-section' },
                    { title: '南澳岛', url: 'travel.html#nanao' },
                    { title: '潮汕粿品', url: 'food.html' },
                    { title: '汕头历史', url: 'history.html' }
                ];
                
                // 模糊匹配
                const results = searchData.filter(item => 
                    item.title.toLowerCase().includes(query)
                );
                
                if (results.length > 0) {
                    let html = '';
                    results.forEach(item => {
                        html += `<a href="${item.url}" class="search-result-item">${item.title}</a>`;
                    });
                    $searchResults.html(html).show();
                } else {
                    $searchResults.html('<div class="p-3 text-muted">没有找到相关结果</div>').show();
                }
            });
            
            // 点击页面其他区域关闭搜索结果
            $(document).on('click', function(e) {
                if (!$(e.target).closest('.search-form').length) {
                    $('#searchResults').hide();
                }
            });
        });
    </script>
</body>
</html>